package com.adv.ems.manager;

import com.adv.ems.db.entity.SystemWarningDO;

import java.util.List;

public interface SystemWarningManager {
    void insertData(SystemWarningDO warning);

    List<SystemWarningDO> getTodayUnReadLastWarning(List<Long> pointIds, Class cls, List<String> types, Integer limit);

    List<SystemWarningDO> getList(String type, String state, String fromDate, String toDate, Integer pageNo, Integer pageSize);

    void doneAll(List<Long> ids);
}
